package com.ldk.framework.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ldk.base.framework.dao.IBaseDAO;
import com.ldk.base.framework.service.impl.BaseService;
import com.ldk.framework.service.IDriverReceiveTripService;
import com.ldk.framework.dao.IDriverReceiveTripDAO;
import com.ldk.framework.entity.DriverReceiveTrip;

/**
* DriverReceiveTripService接口实现类
* @author xiangwl
*/
@Service
public class DriverReceiveTripService extends BaseService<DriverReceiveTrip> implements IDriverReceiveTripService {

	@Autowired
	private IDriverReceiveTripDAO driverReceiveTripDAO;

	@Override
	protected IBaseDAO<DriverReceiveTrip> getBaseDao() {
     	return this.driverReceiveTripDAO;
	}

	@Override
	public int deleteExceptDriver(String dbKey, DriverReceiveTrip query) {
		return this.driverReceiveTripDAO.deleteExceptDriver(dbKey, query);
	}

}
